package pretice.p2;

public class Test {
    public static void main(String[] args) {
        Mythread thread1=new Mythread();
        Mythread thread2=new Mythread();
        Mythread thread3=new Mythread();
        Mythread thread4=new Mythread();
        Mythread thread5=new Mythread();

        thread1.setName("小白");
        thread2.setName("小黑");
        thread3.setName("小灰");
        thread4.setName("小绿");
        thread5.setName("小紫");

        thread1.start();
        thread2.start();
        thread3.start();
        thread4.start();
        thread5.start();
    }

}
